package com.thoughtworks.conference.model;

/**
 * <p>Title: 会议信息实体类</p>
 * <p>Description:用于描述清单中的会议信息</p>
 *
 * @author <a href="mailTo:bingxuewulei@outlook.com">wanglei</a>
 * @version 1.0
 * @history: Created by wanglei on  2019/4/23
 */
public class TalkInfo {
    //会议任务标题
    private String talkTitle;
    //会议时长，字符类型 ， 不应该有
    private String talkTiemStr;
    //会议时长整型
    private int talkTimeIntValue;
    //会议单位
    private String talkTimeUnit;

    public TalkInfo() {

    }

    public TalkInfo(String talkTitle, String talkTiemStr, int talkTimeIntValue, String talkTimeUnit) {
        this.talkTitle = talkTitle;
        this.talkTiemStr = talkTiemStr;
        this.talkTimeIntValue = talkTimeIntValue;
        this.talkTimeUnit = talkTimeUnit;
    }

    public String getTalkTitle() {
        return talkTitle;
    }

    public void setTalkTitle(String talkTitle) {
        this.talkTitle = talkTitle;
    }

    public String getTalkTiemStr() {
        return talkTiemStr;
    }

    public void setTalkTiemStr(String talkTiemStr) {
        this.talkTiemStr = talkTiemStr;
    }

    public int getTalkTimeIntValue() {
        return talkTimeIntValue;
    }

    public void setTalkTimeIntValue(int talkTimeIntValue) {
        this.talkTimeIntValue = talkTimeIntValue;
    }

    public String getTalkTimeUnit() {
        return talkTimeUnit;
    }

    public void setTalkTimeUnit(String talkTimeUnit) {
        this.talkTimeUnit = talkTimeUnit;
    }

    @Override
    public String toString() {
        return "TalkInfo{" +
                "talkTitle='" + talkTitle + '\'' +
                ", talkTiemStr='" + talkTiemStr + '\'' +
                ", talkTimeIntValue=" + talkTimeIntValue +
                ", talkTimeUnit='" + talkTimeUnit + '\'' +
                '}';
    }
}
